<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
</head>

<body>
    <div id="app">
        <button @click="handle(1, 2)">点击</button>
        <button @click="handle1(2, 3, $event)">点击1</button>
        <div>{{msg}}</div>
    </div>
    <script src="./vue.js"></script>
    <script>
        var vm = new Vue({
            el: "#app",
            data: {
                msg: 0,
            },
            methods: {
                handle: function(p, p1) {
                    console.log(p, p1);
                },
                handle1: function(p, p1, san) {
                    console.log(p, p1);
                    console.log(san.keyCpde);
                },
            },
        });
    </script>
</body>

</html>